2D Graphics Test

Top  Previous  Next

Lines and Bitmaps

This suite contains a number of tests that exercise Qt's QPainter graphics functions and the video card.

The numbers displayed at the top of the window for this test represent how many millions of graphical operations have been performed. Each test runs for half a second. After all 3 tests have been ran the cycle count is incremented. The duty cycle, the CPU speed and the video card speed, determine how many operations can be processed during the half-second period.

 

The number of shapes, lines and squares (bitmaps) drawn is displayed at the top of the test window followed by K (indicating thousands), M (millions) or B (billions).

 

The total of these three values is displayed in the main window.

 

Line Drawing

Lines are drawn into window. The color is changed every 500 lines to enable the lines to been seen in the test window.

 

Painting Bitmaps (Squares)

A square bitmap is painted into a window as quickly as possible.

 

Outline shapes

Two different shapes are drawn into a window:

 

-An ellipse

-A square with rounded corners

 

The color is changed every 64 shapes to enable the shapes to be seen in the test window.

 

Local Video Memory (GPU, RAM)

This test directly writes, reads and verifies data to the GPU memory using OpenCL.

The test will attempt to allocated 85% of the on-board memory of the GPU. If this amount can't be allocated (the system is already using some, eg for 4K displays) then it will decrease the amount requested until successful or the amount requested is less than 10%.

 

The test fills this memory with a series of test patterns. Each test pattern is written to video memory, read back from video memory and verified. Any errors are reported.

The test patterns used are similar to the memory test;

 

Ones (11111111)

Zeros (00000000)

Binary 1 (10101010)

Binary 2 (01010101)

Sequence (1, 2, 3, …)

 

1 test cycle is defined to be 1 complete pass (write, read and verify) of the test video memory.

 

Requires that OpenCL drivers are installed for the system (installing "clinfo" should install the required drivers and information tool to verify OpenCL can run).